﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entetities
{
    public class HinhAnh
    {
        private int mahinhanh;
	    private string hinhnho;
	    private string tenhinhnho;
	    private string hinhlon ;
	    private string tenhinhlon ;
        private string ngaythaydoi;
        public HinhAnh()
        {
        }

        public int Mahinhanh { get; set; }
        public string Hihnho{ get; set; }
        public string Tenhinhnho { get; set; }
        public string Hinhlon { get; set; }
        public string Tenhinhlon { get; set; }
        public string Ngaythaydoi { get; set; }

        public override bool Equals(Object obj)
        {
            HinhAnh me = (HinhAnh)obj;
            bool ret = this.mahinhanh.Equals(me.mahinhanh);
            return ret;
        }
        public override int GetHashCode()
        {
            return this.mahinhanh.GetHashCode();
        }
    
    }
}
